void set_camera(bsp_object *d)
Parameter | Type | Description |
---|---|---|
d | bsp_object * | camera is set to view from the object |
None
This function is used to place the camera at a specified object. It computes the view frustum and sets the hardware projection matrix. All render calls after this function will use a camera placed at the object looking down its negative Z axis.